Type Property (Message Object) 

The Type property returns or sets the MAPI message class for the message. Read/write.

Syntax

objMessage.Type

Data Type

String

Remarks

The Type property returns or sets the MAPI message class for the message. By default, the OLE Messaging Library sets the Type value of new messages to the MAPI message class IPM.Note.

The OLE Messaging Library does not impose any restrictions on this value except that it be a valid string value. You can set the value to any string that is meaningful for your application. MAPI uses message class strings in the form IPM.application.subClass or IPC.application.subClass.

For more information about MAPI message classes, see the MAPI Programmer s Reference.

The Type property corresponds to the MAPI property PR_MESSAGE_CLASS.

See Also

GetFirst , Method (Messages Collection)